package com.mybatis.mapper;


import java.util.List;

import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import com.mybatis.entity.Blog;

public interface BlogMapper {
	
	Blog findBlogById(int id);
	
	List<Blog> selectAllBlog();
	
	int updateBlog(Blog blog);
	
	int saveBlog(Blog blog);
	
	int deleteBlog(Blog blog);
}
